package com.zjk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: gfk
 * @create: 2022/10/13
 * @Description:
 * @FileName: Brand
 * @History:
 * @自定义内容：
 */
@TableName("pms_brand")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Brand {

    /**
     brand_id	bigint
     name	char
     logo	varchar
     descript	longtext,text,tinytext
     show_status	tinyint
     first_letter	char
     sort	int

     */
    @TableId(type = IdType.AUTO) //主键
    //IdType.AUTO 自增
    //IdType.ASSIGN_ID  雪花算法 SnowFlow IdWorder  long
    //IdType.ASSIGN_UUID UUID String
    //IdType.INPUT 输入
    private Long brandId;
    @TableField("name")
    private String name;
        private String logo;
    private String descript;

    private Integer showStatus;
    private String firstLetter;
    private Integer sort;
}
